/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class SingleLazy {
    private static volatile SingleLazy singleLazy;
    public static SingleLazy getInstance(){

        if (singleLazy==null){
       synchronized(SingleLazy.class){
           if (singleLazy==null){
               singleLazy =new SingleLazy();
           }
        }
        }
        return singleLazy;
    }
    private SingleLazy(){

    }
    private SingleLazy(int a,int b){

    }
}
